<!--[if IE 9]>
<style type="text/css">
    .limit-ie .select-sub{ width: 297px\9\0}
</style>
<![endif]-->
<style>
.select-proj .select-group{ display: none;}
.select-proj .select-sub div a > span{ padding-left: 0 !important;}
</style>
<div style="width:800px; height:500px; overflow:auto">
    <div class="mt15 pb10 f14 clearfix">
        <span class="fl lh30 mr5">游戏规则名称：</span>
        <input type="text" class="fl mr25 w250 input-text" ng-model="data.ruleSettingName">
        <span class="fl lh30 mr5">绑定项目：</span>
        <div style="width:300px" class="fl limit-ie f12">
            <!-- <div ui-combobox multiple data="data.projectList" text-field="ProjName" value-field="p_projectId" ng-model="data.projectId"></div> -->
            <div ui-project data="data.projectList" multiple nocache ng-model="data.projectId" class="select-proj" ></div>
        </div>
    </div>
    <div class="game-settings p10 clearfix">
        <p>
            <span class="w88">游戏设置：</span>
            <span class="c-gray">参与游戏的节点 “ 报备—到访—认筹—认购—签约 ”可以启用或者关闭</span>
        </p>
        <ul class="mt15 game-settings-list" ng-controller="selectGameCtrl">
            <!-- <li ng-class="{gameshow: data.set1.display}">
                <div class="p5 clearfix game-settings-head">
                    <i class="fl mr25"></i>
                    <span class="fl lh24 w88">经纪人注册</span>
                    <span class="fl" ng-switch ng-model="data.set1.display"></span>
                </div>
                <div class="setting-content set-border clearfix">
                    <div class="content-right clearfix">
                        <P class="fl" style="width: 100%;">
                            <input type="text" class="input-text fl w400 mr5" value="" readonly ng-model="data.set1.gameName">
                            <a href="javascript:void(0)" 
                               ui-dialog="选择"
                               ui-dialog-data="data.set1"
                               ui-dialog-show="selectGameDialog($data, $dialog, $dialogScope, 1)"
                               ui-dialog-ok="selectSave(data.set1, $dialog)"
                               ui-dialog-cache="false"
                               ui-dialog-url="inc/select_game.html"
                               class="btn fl"
                                    >选择</a>
                        </P>
                        <div class="fl img-text mt15" ng-show="data.set1.gameName">
                            <div class="img fl mr25">
                                <img src="" class="textImg" ng-src="{{data.set1.bannerUrl !=='' ? data.set1.bannerUrl : 'http://img-dev.myscrmimg.cn/projects/qmyx/public/images/pic/game/pic_'+ data.set1.gameType +'.jpg'}}">
                            </div>
                            <div class="text fl lh30">
                                <p>每天允许参与游戏次数：<span ng-bind="data.set1.joinTimesPerDay"></span></p>
                                <p>每天允许中奖次数：<span ng-bind="data.set1.maxWinTimes"></span></p>
                                <p>活动时间：<span ng-bind="data.set1.startTime"></span>——<span ng-bind="data.set1.endTime"></span></p>
                            </div>
                        </div>
                    </div>
                </div>
            </li> -->
            <li ng-class="{gameshow: data.set2.display}">
                <div class="p5 clearfix game-settings-head">
                    <i class="fl mr25"></i>
                    <span class="fl lh24 w88">报备</span>
                    <span class="fl" ng-switch ng-model="data.set2.display"></span>
                </div>
                <div class="setting-content set-border clearfix">
                    <div class="content-right clearfix">
                        <P class="fl lh30" style="width: 100%; margin-bottom:8px">
                            <span class="fl">报备人数：</span>
                            <input type="text" positive-integer class="input-text fl mr5" style="width:100px" value="" ng-model="data.set2.baseCount">人
                        </P>
                        <P class="fl" style="width: 100%;">
                            <input type="text" class="input-text fl w400 mr5" value="" readonly ng-model="data.set2.gameName">
                            <a href="javascript:void(0)" 
                               ui-dialog="选择游戏"
                               ui-dialog-data="data.set2"
                               ui-dialog-show="selectGameDialog($data, $dialog, $dialogScope, 2)"
                               ui-dialog-ok="selectSave(data.set2, $dialog)"
                               ui-dialog-cache="false"
                               ui-dialog-url="inc/select_game.html"
                               class="btn fl"
                                    >选择</a>
                        </P>
                        <div class="fl img-text mt15" ng-show="data.set2.gameName">
                            <div class="img fl mr25">
                                <img src="" class="textImg" ng-src="{{data.set2.bannerUrl !=='' ? data.set2.bannerUrl : 'http://img-dev.myscrmimg.cn/projects/qmyx/public/images/pic/game/pic_'+ data.set2.gameType +'.jpg'}}">
                            </div>
                            <div class="text fl lh30">
                                <p>活动时间：<span ng-bind="data.set2.startTime"></span>——<span ng-bind="data.set2.endTime"></span></p>
                            </div>
                        </div>
                    </div>
                </div>
            </li>
            <li ng-class="{gameshow: data.set3.display}">
                <div class="p5 clearfix game-settings-head">
                    <i class="fl mr25"></i>
                    <span class="fl lh24 w88">到访</span>
                    <span class="fl" ng-switch ng-model="data.set3.display"></span>
                </div>
                <div class="setting-content set-border clearfix">
                    <div class="content-right clearfix">
                        <P class="fl" style="width: 100%;">
                            <input type="text" class="input-text fl w400 mr5" value="" readonly ng-model="data.set3.gameName">
                            <a href="javascript:void(0)" 
                               ui-dialog="选择游戏"
                               ui-dialog-data="data.set3"
                               ui-dialog-show="selectGameDialog($data, $dialog, $dialogScope, 3)"
                               ui-dialog-ok="selectSave(data.set3, $dialog)"
                               ui-dialog-cache="false"
                               ui-dialog-url="inc/select_game.html"
                               class="btn fl"
                                    >选择</a>
                        </P>
                        <div class="fl img-text mt15" ng-show="data.set3.gameName">
                            <div class="img fl mr25">
                                <img src="" class="textImg" ng-src="{{data.set3.bannerUrl !=='' ? data.set3.bannerUrl : 'http://img-dev.myscrmimg.cn/projects/qmyx/public/images/pic/game/pic_'+ data.set3.gameType +'.jpg'}}">
                            </div>
                            <div class="text fl lh30">
                                <p>活动时间：<span ng-bind="data.set3.startTime"></span>——<span ng-bind="data.set3.endTime"></span></p>
                            </div>
                        </div>
                    </div>
                </div>
            </li>
            <li ng-class="{gameshow: data.set4.display}">
                <div class="p5 clearfix game-settings-head">
                    <i class="fl mr25"></i>
                    <span class="fl lh24 w88">认筹</span>
                    <span class="fl" ng-switch ng-model="data.set4.display"></span>
                </div>
                <div class="setting-content set-border clearfix">
                    <div class="content-right clearfix">
                        <P class="fl" style="width: 100%;">
                            <input type="text" class="input-text fl w400 mr5" value="" readonly ng-model="data.set4.gameName">
                            <a href="javascript:void(0)" 
                               ui-dialog="选择游戏"
                               ui-dialog-data="data.set4"
                               ui-dialog-show="selectGameDialog($data, $dialog, $dialogScope, 4)"
                               ui-dialog-ok="selectSave(data.set4, $dialog)"
                               ui-dialog-cache="false"
                               ui-dialog-url="inc/select_game.html"
                               class="btn fl"
                                    >选择</a>
                        </P>
                        <div class="fl img-text mt15" ng-show="data.set4.gameName">
                            <div class="img fl mr25">
                                <img src="" class="textImg" ng-src="{{data.set4.bannerUrl !=='' ? data.set4.bannerUrl : 'http://img-dev.myscrmimg.cn/projects/qmyx/public/images/pic/game/pic_'+ data.set4.gameType +'.jpg'}}">
                            </div>
                            <div class="text fl lh30">
                                <p>活动时间：<span ng-bind="data.set4.startTime"></span>——<span ng-bind="data.set4.endTime"></span></p>
                            </div>
                        </div>
                    </div>
                </div>
            </li>
            <li ng-class="{gameshow: data.set5.display}">
                <div class="p5 clearfix game-settings-head">
                    <i class="fl mr25"></i>
                    <span class="fl lh24 w88">认购</span>
                    <span class="fl" ng-switch ng-model="data.set5.display"></span>
                </div>
                <div class="setting-content set-border clearfix">
                    <div class="content-right clearfix">
                        <P class="fl" style="width: 100%;">
                            <input type="text" class="input-text fl w400 mr5" value="" readonly ng-model="data.set5.gameName">
                            <a href="javascript:void(0)" 
                               ui-dialog="选择游戏"
                               ui-dialog-data="data.set5"
                               ui-dialog-show="selectGameDialog($data, $dialog, $dialogScope, 5)"
                               ui-dialog-ok="selectSave(data.set5, $dialog)"
                               ui-dialog-cache="false"
                               ui-dialog-url="inc/select_game.html"
                               class="btn fl"
                                    >选择</a>
                        </P>
                        <div class="fl img-text mt15" ng-show="data.set5.gameName">
                            <div class="img fl mr25">
                                <img src="" class="textImg" ng-src="{{data.set5.bannerUrl !=='' ? data.set5.bannerUrl : 'http://img-dev.myscrmimg.cn/projects/qmyx/public/images/pic/game/pic_'+ data.set5.gameType +'.jpg'}}">
                            </div>
                            <div class="text fl lh30">
                                <p>活动时间：<span ng-bind="data.set5.startTime"></span>——<span ng-bind="data.set5.endTime"></span></p>
                            </div>
                        </div>
                    </div>
                </div>
            </li>
            <li ng-class="{gameshow: data.set6.display}">
                <div class="p5 clearfix game-settings-head">
                    <i class="fl mr25"></i>
                    <span class="fl lh24 w88">签约</span>
                    <span class="fl" ng-switch ng-model="data.set6.display"></span>
                </div>
                <div class="setting-content set-border clearfix">
                    <div class="content-right clearfix">
                        <P class="fl" style="width: 100%;">
                            <input type="text" class="input-text fl w400 mr5" value="" readonly ng-model="data.set6.gameName">
                            <a href="javascript:void(0)" 
                               ui-dialog="选择游戏"
                               ui-dialog-data="data.set6"
                               ui-dialog-show="selectGameDialog($data, $dialog, $dialogScope, 6)"
                               ui-dialog-ok="selectSave(data.set6, $dialog)"
                               ui-dialog-cache="false"
                               ui-dialog-url="inc/select_game.html"
                               class="btn fl"
                                    >选择</a>
                        </P>
                        <div class="fl img-text mt15" ng-show="data.set6.gameName">
                            <div class="img fl mr25">
                                <img src="" class="textImg" ng-src="{{data.set6.bannerUrl !=='' ? data.set6.bannerUrl : 'http://img-dev.myscrmimg.cn/projects/qmyx/public/images/pic/game/pic_'+ data.set6.gameType +'.jpg'}}">
                            </div>
                            <div class="text fl lh30">
                                <p>活动时间：<span ng-bind="data.set6.startTime"></span>——<span ng-bind="data.set6.endTime"></span></p>
                            </div>
                        </div>
                    </div>
                </div>
            </li>
            <!-- <li ng-class="{gameshow: data.set7.display}">
                <div class="p5 clearfix game-settings-head">
                    <i class="fl mr25"></i>
                    <span class="fl lh24 w88">结佣</span>
                    <span class="fl" ng-switch ng-model="data.set7.display"></span>
                </div>
                <div class="setting-content set-border clearfix">
                    <div class="content-right clearfix">
                        <P class="fl" style="width: 100%;">
                            <input type="text" class="input-text fl w400 mr5" value="" readonly ng-model="data.set7.gameName">
                            <a href="javascript:void(0)" 
                               ui-dialog="选择"
                               ui-dialog-data="data.set7"
                               ui-dialog-show="selectGameDialog($data, $dialog, $dialogScope, 7)"
                               ui-dialog-ok="selectSave(data.set7)"
                               ui-dialog-cache="false"
                               ui-dialog-url="inc/select_game.html"
                               class="btn fl"
                                    >选择</a>
                        </P>
                        <div class="fl img-text mt15" ng-show="data.set7.gameName">
                            <div class="img fl mr25">
                                <img src="" class="textImg" ng-src="{{data.set7.bannerUrl !=='' ? data.set7.bannerUrl : 'http://img-dev.myscrmimg.cn/projects/qmyx/public/images/pic/game/pic_'+ data.set7.gameType +'.jpg'}}">
                            </div>
                            <div class="text fl lh30">
                                <p>每天允许参与游戏次数：<span ng-bind="data.set7.joinTimesPerDay"></span></p>
                                <p>每天允许中奖次数：<span ng-bind="data.set7.maxWinTimes"></span></p>
                                <p>活动时间：<span ng-bind="data.set7.startTime"></span>——<span ng-bind="data.set7.endTime"></span></p>
                            </div>
                        </div>
                    </div>
                </div>
            </li> -->
        </ul>
    </div>
</div>